package com.pano.controal;

import java.util.HashMap;
import java.util.Map;

import com.pano.Enum.ResultMessage;

@SuppressWarnings("all")
public class BaseController {

	protected Map returnMap(ResultMessage message) {
		Map map = new HashMap();
		map.put("code", message.getCode());
		map.put("message", message.getMessage());
		return map;
	}

}
